package com.zlm.user.emp.dao;

import com.zlm.common.base.BaseDao;
import com.zlm.common.entity.BasPostDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: duyufu
 * @Date: 2019/5/16 9:32
 */
@Repository
public interface BasPostDao extends BaseDao<BasPostDO> {

    List<BasPostDO> queryAllPostMenu(@Param("category") Integer category);

    /**
     * 获取期望职位
     * @param postList
     * @return
     */
    List<Map<String, Object>> queryPostList(List<Integer> postList);

    /**
     * 获取职位
     * @param postId
     * @return
     */
    BasPostDO queryPostById(@Param("postId") Integer postId);
}
